package cn.initcap.designpattern.principle.dependenceinversion;

/**
 * @author initcap
 * @date 2018/8/28 AM9:15
 */
class Initcap {

    private ICourse iCourse;

    public void setiCourse(ICourse iCourse) {
        this.iCourse = iCourse;
    }

    public void studyCourse() {
        iCourse.studyCourse();
    }


}
